/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ui.gui.documents;

/**
 *
 * @author stephane
 */
public abstract class EditorAction extends javax.swing.AbstractAction
{
    private static final long serialVersionUID = 1L;
    private AbstractDocument _document = null;
    private EditorAction()
    {
        
    }
    public EditorAction(String actionName, AbstractDocument document) {
        this._document = document;
        putValue(NAME, actionName);
    }

    /**
     * @return the _document
     */
    public AbstractDocument getDocument() {
        return _document;
    }

        
}
